home *** CD-ROM | disk | FTP | other *** search
/ Celestin Apprentice 2 / Apprentice-Release2.iso / Tools / MPW / GCC 1.37.1r15 / Tests / void-adj.c < prev   
Encoding:
Text File  |  1993-01-19  |  225 b   |  24 lines  |  [TEXT/MPS ]

  1. /* Compile with -fomit-frame-pointer.  f2() should both add and subtract from sp. */
  2.  
  3. pascal int foo();
  4.  
  5. int glob;
  6.  
  7. f1()
  8. {
  9.     glob = foo();
  10. }
  11.  
  12. f2()
  13. {
  14.     (void) foo();
  15. }
  16.  
  17. pascal char bar();
  18.  
  19. f3()
  20. {
  21.     baz(1, 2, 3);
  22.     (void) bar();
  23. }
  24.